Guide explains CSS attribute selectors with pattern matching—using [attr~='value'] for substring/word matches and [attr='value'] for exact matches—to target elements by attributes. With examples for inputs (type), links (href), and images (alt), plus combining selectors and the | operator, it shows how to style precisely and streamline complex CSS.
